home *** CD-ROM | disk | FTP | other *** search
- Path: connix.com!news
- From: Scott Hawley <shawley@connix.com>
- Newsgroups: comp.lang.c,comp.unix.programmer
- Subject: Re: Q: '\n' character
- Date: Thu, 18 Apr 1996 13:18:17 -0700
- Organization: SHAWLEY SYSTEMS
- Message-ID: <3176A389.4E48@connix.com>
- References: <4kj66f$k0o@ren.cei.net> <4kmdsv$ojc@masala.cc.uh.edu> <4kmhpsINN7ak@keats.ugrad.cs.ubc.ca> <AD97189A966891F2@mcdiala02.it.luc.edu> <4ktn04INNoev@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: shawley.connix.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- >Having a return value that is the same as one of the arguments is
- >a complete waste of a ``data path'' that could be used to return
- >pertinent information.
-
- My manual says fgets returns the string pointed to by s or a NULL
- on end-of-file. I would say finding the end of file is pretty
- pertinent, wouldn't you?
-